package com.fellan;



import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;



/**
 * Created by IntelliJ IDEA.
 * User: Naty
 * Date: 5/26/12
 * Time: 6:59 PM
 * To change this template use File | Settings | File Templates.
 */
public class MyWebView extends Activity {
    private WebView mywebview;
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.webiview);
        mywebview = (WebView)findViewById(R.id.webview1);
        mywebview.getSettings().setJavaScriptEnabled(true);
        ///mywebview.loadUrl(getResources(R.drawable.icon));
        mywebview.loadUrl("file:///android_asset/harta.jpg");
        mywebview.getSettings().setBuiltInZoomControls(true);
        mywebview.getSettings().setSupportZoom(true);
        mywebview.getSettings().setUseWideViewPort(true);
    }


}
